#include <stdio.h>
int main(int argc, char const *argv[])
{
    int ii = 1;
    double dd = 3.141414;
    char name[21] = "hello";

    int *pii;
    double *pdd;
    char *pname;

    pii = &ii;
    pdd = &dd;
    pname = name;

    printf("ii的内存地址是:%p\n", &ii);
    printf("dd的内存地址是:%p\n", &dd);
    printf("name的内存地址是:%p\n", name);

    printf("pii=%p\n", pii);
    printf("pdd=%p\n", pdd);
    printf("pname=%p\n", pname);
    return 0;
}
